

const app = {
    state:{
        color:'#001529'
    },
    mutations:{
        SET_THEMECOLOR:(state,color)=>{
            state.color = color;
        }
    },
    actions:{
        ChangeTheme:(commit,theme)=>{
            commit('SET_THEMECOLOR',theme.color);
        }
    }
}
export default app;